package cn.edu.scau.cmi.wuyihan.exercise6.Example6_2;

public class University {
	void enterRule(double math,double english,double chinese) {
 	   double total=math+english+chinese;
 	   if(total>=300)
 		   System.out.println(total+"分达到重点大学录取线");
 	   else
 		   System.out.println(total+"分未达到重点大学录取线");
	}
}
